package com.purchase.ml.bean.res.prod;

import com.purchase.ml.consts.Constants;
import com.purchase.ml.entity.dealer.SysAddr;
import com.purchase.ml.entity.prod.SysProduct;
import com.purchase.ml.entity.prod.SysProductPic;
import com.purchase.ml.entity.prod.SysProductSku;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author :zxm
 * @date :2021/2/25 18:43
 * @description :some description
 **/

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "商品返回model")
public class SysProdRes extends SysProduct implements Serializable {

    private Long id;

    private Long categoryId;

    private String productName;

    private String description;

    private String brand;

    private String productModel;

    private BigDecimal priceCost;

    private BigDecimal priceMasterDealer;

    private BigDecimal priceDealer;

    private Integer state;

    private SysProductSku productSku = new SysProductSku();

    private List<SysProductPic> picList = new ArrayList<>();

    private static final long serialVersionUID = 1L;
}